import React from "react";
import { DatePicker as AntdDatePicker } from "../../antd/index";
import { commonProps } from ".";

// type
import { AntdMonthPickerProps } from ".";

export interface Props extends AntdMonthPickerProps {}

function MonthPicker(props: Props) {
  const MonthPickerProps = {
    ...commonProps,
    ...props,
  };
  return <AntdDatePicker.MonthPicker {...MonthPickerProps} />;
}

export default MonthPicker;
